package java_1_8.abstract_test;

public class Test {
    public static void main(String[] args) {
        CaffeineBeverage coffee=new Coffe();
        coffee.prepareRecipe();
        System.out.println("----------------------");
        CaffeineBeverage tea=new Tea();
        tea.prepareRecipe();
        System.out.println("--------------------------");
        CaffeineBeverage milktea=new MilkTea();
        milktea.prepareRecipe();


//        Coffe coffee=new Coffe();
//        coffee.prepareRecipe();
//        System.out.println("------------------------");
//        Tea tea=new Tea();
//        tea.prepareRecipe();
    }
}
